package com.example.homeworkdev.entity;

public class Item {
    private int imageResId;
    private String title;
    private int height; // 动态高度

    public Item(int imageResId, String title, int height) {
        this.imageResId = imageResId;
        this.title = title;
        this.height = height;
    }

    public int getImageResId() {
        return imageResId;
    }

    public String getTitle() {
        return title;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }
}